<?php
/****************************************************
 * $Date:: Jun 11, 2010 7:57:20 AM					*
 * $Revision:										*
 * $Author:: duongthienduc							*
 * $Comment::										*
****************************************************/

class Bet_Util_Db {

	public static function getTableNameWithPrefix($tableName, $config) {
		$result = $tableName;
		$prefix = $config['prefix'];
		if ($prefix != null && $prefix != "") {
			$result =  $prefix . "_" . $result;
		}
		return $result;
	}

}
?>